package com.hd.crdao.bean;

import java.util.List;

/**
 *
 *@author Administrator
 *@date 2017/6/30 0030
 */
public class DetailsBean {

    /**
     * success : 00
     * message : 处理成功
     * data : [{"id":"1209","isNewRecord":false,"remarks":"5条4S维保套餐购买","createDate":"2017-06-29 10:07:26","updateDate":"2017-06-29 10:07:41","carBusiness":{"id":"a19c86a6c3124b28b29ddc4b0aeeccec","isNewRecord":false,"cbName":"测试车商14","creditNum":0},"cbAccountId":19,"accDetailId":"304","plServtype":"T","plMethod":"Z","plServiceid":"1","plAmount":0.01,"plStatus":"0","plRelationid":"3","plOrder":"W0629234756"},{"id":"634","isNewRecord":false,"remarks":"10条4S维保套餐购买","createDate":"2017-04-17 14:32:47","updateDate":"2017-04-17 14:32:55","carBusiness":{"id":"a19c86a6c3124b28b29ddc4b0aeeccec","isNewRecord":false,"cbName":"测试车商14","creditNum":0},"cbAccountId":19,"accDetailId":"295","plServtype":"T","plMethod":"Z","plServiceid":"1","plAmount":0.01,"plStatus":"0","plRelationid":"1","plOrder":"W0417824391"}]
     * total : 2
     */

    private String success;
    private String message;
    private int total;
    private List<DataBean> data;

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1209
         * isNewRecord : false
         * remarks : 5条4S维保套餐购买
         * createDate : 2017-06-29 10:07:26
         * updateDate : 2017-06-29 10:07:41
         * carBusiness : {"id":"a19c86a6c3124b28b29ddc4b0aeeccec","isNewRecord":false,"cbName":"测试车商14","creditNum":0}
         * cbAccountId : 19
         * accDetailId : 304
         * plServtype : T
         * plMethod : Z
         * plServiceid : 1
         * plAmount : 0.01
         * plStatus : 0
         * plRelationid : 3
         * plOrder : W0629234756
         */

        private String id;
        private boolean isNewRecord;
        private String remarks;
        private String createDate;
        private String updateDate;
        private CarBusinessBean carBusiness;
        private int cbAccountId;
        private String accDetailId;
        private String plServtype;
        private String plMethod;
        private String plServiceid;
        private double plAmount;
        private String plStatus;
        private String plRelationid;
        private String plOrder;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public CarBusinessBean getCarBusiness() {
            return carBusiness;
        }

        public void setCarBusiness(CarBusinessBean carBusiness) {
            this.carBusiness = carBusiness;
        }

        public int getCbAccountId() {
            return cbAccountId;
        }

        public void setCbAccountId(int cbAccountId) {
            this.cbAccountId = cbAccountId;
        }

        public String getAccDetailId() {
            return accDetailId;
        }

        public void setAccDetailId(String accDetailId) {
            this.accDetailId = accDetailId;
        }

        public String getPlServtype() {
            return plServtype;
        }

        public void setPlServtype(String plServtype) {
            this.plServtype = plServtype;
        }

        public String getPlMethod() {
            return plMethod;
        }

        public void setPlMethod(String plMethod) {
            this.plMethod = plMethod;
        }

        public String getPlServiceid() {
            return plServiceid;
        }

        public void setPlServiceid(String plServiceid) {
            this.plServiceid = plServiceid;
        }

        public double getPlAmount() {
            return plAmount;
        }

        public void setPlAmount(double plAmount) {
            this.plAmount = plAmount;
        }

        public String getPlStatus() {
            return plStatus;
        }

        public void setPlStatus(String plStatus) {
            this.plStatus = plStatus;
        }

        public String getPlRelationid() {
            return plRelationid;
        }

        public void setPlRelationid(String plRelationid) {
            this.plRelationid = plRelationid;
        }

        public String getPlOrder() {
            return plOrder;
        }

        public void setPlOrder(String plOrder) {
            this.plOrder = plOrder;
        }

        public static class CarBusinessBean {
            /**
             * id : a19c86a6c3124b28b29ddc4b0aeeccec
             * isNewRecord : false
             * cbName : 测试车商14
             * creditNum : 0
             */

            private String id;
            private boolean isNewRecord;
            private String cbName;
            private int creditNum;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getCbName() {
                return cbName;
            }

            public void setCbName(String cbName) {
                this.cbName = cbName;
            }

            public int getCreditNum() {
                return creditNum;
            }

            public void setCreditNum(int creditNum) {
                this.creditNum = creditNum;
            }
        }
    }
}
